home *** CD-ROM | disk | FTP | other *** search
/ Eagles Nest BBS 8 / Eagles_Nest_Mac_Collection_Disc_8.TOAST / Developer Tools⁄Additions / VoodooM10d24 / VoodooMonkey 1.0d24 / VoodooMonkey goodies / DebuggerINIT User API / Read Me < prev    next >
Text File  |  1994-06-06  |  1KB  |  31 lines

  1. DebuggerINIT User API
  2. Mike Lockwood
  3. June 6, 1994
  4.  
  5. "DebuggerINIT User API" consists of a header file and glue code for communicating
  6. with the VoodooMonkey DebuggerINIT.  This is a subset of the full API, containing
  7. only routines that might be useful for VoodooMonkey users.
  8.  
  9. NubNewObject and NubObjectFreed are used to implement support for the VoodooMonkey 
  10. inspector window.  Look at MacApp 3.1 for an example of how to do this.
  11.  
  12. NubRegisterFile, NubTrackResource and NubResourceLoaded are used to support debugging
  13. code that is not loaded by the Resource Manager.  For example, if whoever loads your
  14. code calls DetachResource or BlockMove, DebuggerINIT won't know where it is loaded 
  15. by default.  NubRegisterFile registers your file so it can be debugged.  After you 
  16. call NubRegisterFile and get a NubFileID, you call NubTrackResource for each resource
  17. in the file that you want to debug.  Then whenever one of your resources is loaded
  18. into memory (by whatever means) call NubResourceLoaded to tell DebuggerINIT where
  19. it is loaded.
  20.  
  21. Warning!  This feature has not been tested very much, and is even more unsupported 
  22. than the rest of VoodooMonkey/DebuggerINIT.  But people asked for it, so I am releasing
  23. this information.
  24.  
  25. NubAmIBeingDebugged and NubStartDebuggingMe are used to find out if you are being 
  26. debugged or requesting to be debugged.  This can be useful if you want to only use
  27. SysBreak, SysBreakStr, and SysBreakFunc if there is someone listening.
  28.  
  29.  
  30. Have fun!
  31. Mike